<html>
	<head><title>Show Players</title></head>
	<body>	
		<h1>Show Players that have...</h1><br>
			<?php 
				if($_POST["runCount"] || $_POST["wicketCount"])
				{
					// grab players from database that match description
					echo "Displaying players with more than</br>";
					if($_POST["runCount"])
					{
						echo $_POST["runCount"]." runs<br>";
						echo "<img src = \"over2000runs.jpg\" alt = \"Over 2000 Runs\"/><br>";
					}
					if($_POST["wicketCount"])
					{
						echo $_POST["wicketCount"]." wickets</br>";
						echo "<img src = \"over40wickets.jpg\" alt = \"Over 40 wickets\"/><br>";
					}
				//	echo "<b>Display data here...</b></br>";
				}
				else
					echo "Error, bad inputs</br>";
			?>
		
		<a href="players.php">Return to Players page</a>
	</body>
</html>
